package com.pay.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 * 
 * </p>
 *
 * @author Peng
 * @since 2018-12-05
 */
@TableName("t_zfb_in_log")
public class ZfbInLog implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 对应的机器人
	 */
	@TableField(exist=false)
	private ZfbMember zfbMember ;
	
	/**
	 * 支付宝收款记录
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	/**
	 * 对应的用户表
	 */
	private Integer memberId;

	/**
	 * 金额
	 */
	private BigDecimal money;

	/**
	 * 到帐时间
	 */
	private Date createtime;

	/**
	 * 标识码
	 */
	private String flagcode;

	/**
	 * 转帐人名称
	 */
	private String transname;
	
	/**
	 * 支付宝交易单号
	 */
	private String tradeNo ; 


	public ZfbMember getZfbMember() {
		return zfbMember;
	}

	public void setZfbMember(ZfbMember zfbMember) {
		this.zfbMember = zfbMember;
	}

	public String getTradeNo() {
		return tradeNo;
	}

	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getMemberId() {
		return memberId;
	}

	public void setMemberId(Integer memberId) {
		this.memberId = memberId;
	}

	public BigDecimal getMoney() {
		return money;
	}

	public void setMoney(BigDecimal money) {
		this.money = money;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public String getFlagcode() {
		return flagcode;
	}

	public void setFlagcode(String flagcode) {
		this.flagcode = flagcode;
	}

	public String getTransname() {
		return transname;
	}

	public void setTransname(String transname) {
		this.transname = transname;
	}

	@Override
	public String toString() {
		return "ZfbInLog{" +
				"id=" + id +
				", memberId=" + memberId +
				", money=" + money +
				", createtime=" + createtime +
				", flagcode=" + flagcode +
				", transname=" + transname +
				"}";
	}
}
